<?php

/**
 * 枚举定义
 */

return [

    //日志类型
    "sysLogStatus" => [

        "success" => [

            "desc" => "正常",
            "value" => 1,

        ],

        "error" => [

            "desc" => "错误",
            "value" => -1,

        ],

    ],

    "sysMenuStatus" => [

        "valid" => [
            "desc" => "正常",
            "value" => 1
        ],

        "abandon" => [
            "desc" => "禁用",
            "value" => 2
        ]
    ],

    "bannerType" => [

        "targetRoute" => [

            "desc" => "内部路由",
            "value" => 1,

        ],
    ],

    "sceneStatus" => [
        "valid" => [
            "desc" => "正常",
            "value" => 1
        ],

        "abandon" => [
            "desc" => "禁用",
            "value" => 0
        ]
    ],

    "bannerStatus" => [

        "valid" => [
            "desc" => "已上架",
            "value" => 1
        ],

        "invalid" => [
            "desc" => "已下架",
            "value" => 0
        ]
    ],

    // 性别
    "sex" => [

        "girl" => [
            "desc" => '女',
            "value" => 0
        ],

        "man" => [
            "desc" => "男",
            "value" => 1,
        ],

        "unknown" => [
            "desc" => "未知",
            "value" => 2
        ]
    ],

    // 用户等级
    "customerCurrentLevel" => [

        "ordinary" => [
            "desc" => "普通用户",
            "value" => 0
        ],

        "store" => [
            "desc" => "店长",
            "value" => 1
        ],

        "largeStore" => [
            "desc" => "超级店长",
            "value" => 2
        ],

        "agent" => [
            "desc" => "总代理",
            "value" => 3
        ]
    ],

    // 等级分润level
    "commissionRuleLevel" => [

        "store" => [
            "desc" => "店长",
            "value" => 1
        ],

        "largeStore" => [
            "desc" => "超级店长",
            "value" => 2
        ],

        "agent" => [
            "desc" => "总代理",
            "value" => 3
        ]
    ],

    // 提现状态
    "withdrawStatus" => [

        "init" => [
            "desc" => "待处理",
            "value" => 0
        ],

        "success" => [
            "desc" => "已处理",
            "value" => 1
        ]
    ],

    "handleStatus" => [

        "waiting" => [
            "desc" => "未处理",
            "value" => 0
        ],

        "end" => [
            "desc" => "已处理",
            "value" => 1
        ],

    ],

    //任务类型
    "missionType" => [

        "setTimeout" => [
            "desc" => "延迟任务",
            "value" => 1
        ],

        "async" => [
            "desc" => "异步消息",
            "value" => 2
        ],

    ],

    // 审核类型
    "levelAccessType" => [

        "system" => [
            "desc" => "自动",
            "value" => 1
        ],

        "artificial" => [
            "desc" => "人工",
            "value" => 2
        ]
    ],

    // 等级申请状态
    "levelApplyStatus" => [

        "verify" => [
            "desc" => "审核通过",
            "value" => 1
        ],

        "init" => [
            "desc" => "未审核",
            "value" => 0
        ]
    ],

    // 用户的收益状态
    "customerStatus" => [

        "valid" => [
            "desc" => "开启收益",
            "value" => 1
        ],

        "invalid" => [
            "desc" => "禁用收益",
            "value" => 0
        ]

    ],

    // 好友类型
    "friendType" => [

        "A" => [
            "desc" => "好友A",
            "value" => 1
        ],

        "B" => [
            "desc" => "好友B",
            "value" => 2
        ],

        "largeStore" => [
            "desc" => "超级店长",
            "value" => 3
        ]

    ],

    "figureItemType" => [

        "head" => [
            "desc" => "头部",
            "value" => 1
        ],

        "aboveTheWaist" => [
            "desc" => "上半身",
            "value" => 2
        ],

        "lowerBody" => [
            "desc" => "下半身",
            "value" => 3
        ],

        "other" => [
            "desc" => "人物其他",
            "value" => 4
        ]
    ],

    "orderStatus" => [

        "waitDeliverGoods" => [
            "desc" => "待发货",
            "value" => 0
        ],

        "distribution" => [
            "desc" => "配送中",
            "value" => 1
        ],

        "confirmCollectGoods" => [
            "desc" => "确认收货",
            "value" => 2
        ],

        "cancel" => [
            "desc" => "用户取消",
            "value" => -1
        ],

        "unpaid" => [
            "desc" => "未付款",
            "value" => -2
        ],

        "paid" => [
            "desc" => "已支付，待成团",
            "value" => -4
        ],

        "refund" => [
            "desc" => "拼团失败退款",
            "value" => -5
        ],

        "overtime" => [
            "desc"=> "超时失效",
            "value" => -6
        ]
    ],

    // 商品是否上架
    "isSale" => [

        "valid" => [
            "desc" => "上架",
            "value" => 1
        ],

        "abandon" => [
            "desc" => "下架",
            "value" => 0
        ]
    ],

    // 商品是否置顶
    "isTop" => [

        "yes" => [
            "desc" => "置顶",
            "value" => 1
        ],

        "no" => [
            "desc" => "不置顶",
            "value" => 0
        ]
    ],

    // 商品是否可以拼团
    "isPintuan" => [

        "yes" => [
            "desc" => "可以",
            "value" => 1
        ],

        "no" => [
            "desc" => "不可以",
            "value" => 0
        ]
    ],

    // 结算状态
    "isSettlement" => [

        "yes" => [
            "desc" => "已结算",
            "value" => 1
        ],

        "no" => [
            "desc" => "未结算",
            "value" => 0
        ]
    ],

    "likeReceiveStatus" => [

        "unreceive" => [
            "desc" => "未领取",
            "value" => 0
        ],

        "receive" => [
            "desc" => "已领取",
            "value" => 1
        ],

        "notReceive" => [
            "desc" => "超过上限不可领取",
            "value" => -1
        ]
    ],

    // 排序类型
    "sortType" => [

        "desc" => [
            "desc" => "倒序",
            "value" => "desc"
        ],

        "asc" => [
            "desc" => "正序",
            "value" => "asc"
        ]
    ],

    // 流水明细类型
    "detailType" => [

        "accountDetail" => [
            "desc" => "销售额",
            "value" => 1
        ],

        "pointDetail" => [
            "desc" => "金币",
            "value" => 2
        ]
    ],

    // 积分流水类型
    "pointDetailType" => [

        "like" => [
            "desc" => "点赞",
            "value" => 1
        ],

        "cleanStore" => [
            "desc" => "打扫店铺",
            "value" => 2
        ],

        "arrangeGoods" => [
            "desc" => "整理货架",
            "value" => 3
        ],

        "unlockNewGoods" => [
            "desc" => "解锁新商品",
            "value" => 4
        ],

        "likeReceive" => [
            "desc" => "领取其他店积分",
            "value" => 5
        ]
    ],

    // 账户流水类型
    "accountDetailType" => [

        "income" => [
            "desc" => "佣金收入",
            "value" => 1
        ],

        "withdraw" => [
            "desc" => "提现",
            "value" => 2
        ],

        "recommend" => [
            "desc" => "推荐",
            "value" => 3
        ]

    ],

    // 用户账户日志类型
    "customerAccountLogType" => [

        "like" => [
            "desc" => "点赞",
            "value" => 1
        ],

        "cleanStore" => [
            "desc" => "打扫店铺",
            "value" => 2
        ],

        "arrangeGoods" => [
            "desc" => "整理货架",
            "value" => 3
        ],

        "unlockNewGoods" => [
            "desc" => "解锁新商品",
            "value" => 4
        ],

        "consume" => [
            "desc" => "在你店铺消费了",
            "value" => 5
        ],

        "likeReceive" => [
            "desc" => "领取其他店积分",
            "value" => 6
        ],

        "recommend" => [
            "desc" => "推荐了新人",
            "value" => 7
        ]
    ],

    "missionStatus" => [

        "waiting" => [
            "desc" => "未处理",
            "value" => 0
        ],

        "end" => [
            "desc" => "已处理",
            "value" => 1
        ],

    ],

    "customerVip" => [

        "yes" => [
            "desc" => "是",
            "value" => 1
        ],

        "no" => [
            "desc" => "否",
            "value" => 0
        ]
    ],

    "firstEnterCenter" => [

        "yes" => [
            "desc" => "是",
            "value" => 1
        ],

        "no" => [
            "desc" => "否",
            "value" => 0
        ]
    ],

    "firstEnterOtherCenter" => [

        "yes" => [
            "desc" => "是",
            "value" => 1
        ],

        "no" => [
            "desc" => "否",
            "value" => 0
        ]
    ],

    // 留言是否删除
    "messageIsDel" => [

        "delete" => [
            "desc" => "已删除",
            "value" => 1
        ],

        "valid" => [
            "desc" => "正常",
            "value" => 0
        ]
    ]

];
